package com.liang.spring.cloud.uaa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author liang zai
 * @date 2021/9/2 11:49
 * @description
 */

@SpringBootApplication
@EnableHystrix
@EnableFeignClients(basePackages = {"com.liang.spring.cloud.uaa"})
@EnableDiscoveryClient
public class UAAServer {
    public static void main(String[] args) {
        SpringApplication.run(UAAServer.class, args);
    }
}
